using System;
using ASPNETVN.PORTAL.Components.UI;
using ASPNETVN.PORTAL.Modules.HTML.Components;

namespace ASPNETVN.PORTAL.Modules.HTML
{
    public partial class Main1 : PortalModuleControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                this.ModuleTitle.AddUrl = string.Format("~/Modules/HTML/Controls/AddEditItem.aspx?tabindex={0}&tabid={1}&mid={2}", this.TabIndex, this.TabID, this.ModuleID);
                rptItem.DataSource = Item.SelectAll(this.ModuleID);
                rptItem.DataBind();
            }
        }
    }
}